<?php
/**
 * Created by PhpStorm.
 * User: 47557
 * Date: 2017/4/12
 * Time: 11:08
 */

namespace app\db\controller;


use think\Controller;
use think\Db;

class Wordgroupcontrol extends Dbcommoncontrol
{
   protected $DbName="WordGroupInf";


   public function GetAllName()
   {
      // $wgname=DB::table($this->DbName)->field('WG_Name,WG_Pic,WG_Count',false)->select();
       $wgname=DB::table($this->DbName)->select();
       return json($wgname);
   }
}